package br.com.candiolli.apoio.util;

import java.util.List;

import com.google.gson.Gson;


public abstract class JsonUtils {

	public static <T> String parseListJson(List<T> list) {
		Gson gson = new Gson();
		return gson.toJson(list);
	}
	
	public static <T> String parseListJson(T object) {
		Gson gson = new Gson();
		return gson.toJson(object);
	}
}
